package com.bazinga.contact.model;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="userDetails")
public class UserDetails implements Serializable{
	
	private static final long serialVersionUID = 2705069964426993945L;
	
	private Long userid;
	private String fname;
	private String lname;
	private String email;
	private boolean is_student;
	private boolean is_employer;
	private Date creation_date;
	private String passwd;
	private String phone;
	private String city;
	private String state;
	
	
	@Id
	@GeneratedValue
	@Column(name="userid")
	public Long getUserid() {
		return userid;
	}
	@Column(name="userid")
	public void setUserid(Long userid) {
		this.userid = userid;
	}
	@Column(name="fname")
	public String getFname() {
		return fname;
	}
	@Column(name="fname")	
	public void setFname(String fname) {
		this.fname = fname;
	}
	@Column(name="lname")
	public String getLname() {
		return lname;
	}
	@Column(name="lname")
	public void setLname(String lname) {
		this.lname = lname;
	}
	@Column(name="email")
	public String getEmail() {
		return email;
	}
	@Column(name="email")
	public void setEmail(String email) {
		this.email = email;
	}
	@Column(name="is_employer")
	public boolean isIs_employer() {
		return is_employer;
	}
	@Column(name="is_employer")
	public void setIs_employer(boolean is_employer) {
		this.is_employer = is_employer;
	}
	@Column(name="is_student")
	public boolean isIs_student() {
		return is_student;
	}
	@Column(name="is_student")
	public void setIs_student(boolean is_student) {
		this.is_student = is_student;
	}
	@Column(name="creation_date")
	public Date getCreation_date() {
		return creation_date;
	}
	@Column(name="creation_date")
	public void setCreation_date(Date creation_date) {
		this.creation_date = creation_date;
	}
	@Column(name="passwd")
	public String getPasswd() {
		return passwd;
	}
	@Column(name="passwd")
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	@Column(name="phone")
	public String getPhone() {
		return phone;
	}
	@Column(name="phone")
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Column(name="city")
	public String getCity() {
		return city;
	}
	@Column(name="city")
	public void setCity(String city) {
		this.city = city;
	}
	@Column(name="state")
	public String getState() {
		return state;
	}
	@Column(name="state")
	public void setState(String state) {
		this.state = state;
	}
}
